package com.zxxy.gulimall.auth.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.StringRedisTemplate;

@Configuration
public class RedisConfig {

    //@Bean
    public RedisTemplate getRedisTemplate(){

        return new StringRedisTemplate();
    }


}
